package com.heima.apis.user;

import com.heima.model.admin.dtos.AuthDto;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(value = "leadnews-user")
public interface IAdUserClient {
    @PostMapping("/api/v1/auth/list")
    PageResponseResult findList(@RequestBody AuthDto dto) ;
    @PostMapping("/api/v1/auth/authFail")
    ResponseResult authFail(@RequestBody AuthDto dto) ;
    @PostMapping("/api/v1/auth/authPass")
    ResponseResult authPass(@RequestBody AuthDto dto) ;

}